package com.itlong.cloud.operate.service;

import com.itlong.cloud.POJO.DTO.operate.OperateModuleGetPageDTO;
import com.itlong.cloud.POJO.DTO.operate.OperatePropertyValueSaveDTO;
import com.itlong.cloud.POJO.VO.operate.OperateModuleGetPageVO;
import com.itlong.cloud.POJO.VO.operate.OperatePropertyValueGetOneVO;
import com.itlong.cloud.utils.page.Page;

/**
 * <desc>
 *      运营物业增值业务处理接口
 * </desc>
 *
 * @createDate 2019/05/29
 */
public interface IOperatePropertyValueService {
    /**
     * <desc>
     *      获取分页列表
     * </desc>
     *
     * @param dto
     * @return
     * @author Jiaqi.X
     * @createDate 2019/05/29
     */
    Page<OperateModuleGetPageVO> getPage(OperateModuleGetPageDTO dto) throws Exception;

    /**
     * <desc>
     *      获取单个对象
     * </desc>
     *
     * @param moduleId
     * @return
     * @author Jiaqi.X
     * @createDate 2019/05/29
     */
    OperatePropertyValueGetOneVO getOne(String moduleId,String projectId);

    /**
     * <desc>
     *      保存物业增值配置
     * </desc>
     *
     * @param dto
     * @return
     * @author Jiaqi.X
     * @createDate 2019/05/29
     */
    String save(OperatePropertyValueSaveDTO dto) throws Exception;
}
